t = "2022-07-04 10:59:38.728235"
x = str(t)[11:].split(":")
ans = float(x[0])*60*60 + float(x[1])*60 + float(x[2])
print(x)
print(ans)